package com.kamistoat.ruoyi.ruoyigateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableConfigurationProperties
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class RuoyiGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(RuoyiGatewayApplication.class, args);
        System.setProperty("nacos.logging.default.config.enabled", "false");
        System.out.println("(♥◠‿◠)ﾉﾞ  梅梅网关启动成功   ლ(´ڡ`ლ)ﾞ  \n");
        System.out.println(
                "/$$      /$$             /$$     /$$      /$$             /$$   \n" +
                        "| $$$    /$$$            |__/    | $$$    /$$$            |__/  \n" +
                        "| $$$$  /$$$$   /$$$$$$   /$$    | $$$$  /$$$$   /$$$$$$   /$$  \n" +
                        "| $$ $$/$$ $$  /$$__  $$ | $$    | $$ $$/$$ $$  /$$__  $$ | $$  \n" +
                        "| $$  $$$| $$ | $$$$$$$$ | $$    | $$  $$$| $$ | $$$$$$$$ | $$  \n" +
                        "| $$\\  $ | $$ | $$_____/ | $$    | $$\\  $ | $$ | $$_____/ | $$  \n" +
                        "| $$ \\/  | $$ |  $$$$$$$ | $$    | $$ \\/  | $$ |  $$$$$$$ | $$  \n" +
                        "|__/     |__/  \\_______/ |__/    |__/     |__/  \\_______/ |__/ ");
    }
}
